<?php

require_once('boot.php');

$gateway->auth();

echo "Ping...";

try {
	$gateway->ping();
	echo "Pong\n";
} catch (Exception $e) {
	echo "Error!\n";
}